[INFO] cloning repository https://github.com/songww/quanshu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/songww/quanshu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongww%2Fquanshu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongww%2Fquanshu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c54780820ead32a141f17514621d011dd3beacb4
[INFO] fixing songww/quanshu against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongww%2Fquanshu" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/songww/quanshu
[INFO] finished tweaking git repo https://github.com/songww/quanshu
[INFO] tweaked toml for git repo https://github.com/songww/quanshu written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/songww/quanshu on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/songww/quanshu already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0261189bb72ec4d580738292815e56239b13420b9cb352cf33ea3ec15356576e
[INFO] running `Command { std: "docker" "start" "0261189bb72ec4d580738292815e56239b13420b9cb352cf33ea3ec15356576e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0261189bb72ec4d580738292815e56239b13420b9cb352cf33ea3ec15356576e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0261189bb72ec4d580738292815e56239b13420b9cb352cf33ea3ec15356576e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0261189bb72ec4d580738292815e56239b13420b9cb352cf33ea3ec15356576e" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.39
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking once_cell v1.11.0
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling target-lexicon v0.12.3
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.3
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling pyo3-build-config v0.16.5
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling openssl-sys v0.9.73
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling semver v1.0.9
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.8
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling pyo3-ffi v0.16.5
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling pyo3 v0.16.5
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]    Compiling backtrace v0.3.65
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking miniz_oxide v0.5.1
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking object v0.28.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]     Checking os_str_bytes v6.0.1
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling indoc v1.0.6
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking unindent v0.1.9
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking clap_lex v0.2.0
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.4
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling pyo3-macros-backend v0.16.5
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking plotters-backend v0.3.2
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking plotters-svg v0.3.1
[INFO] [stderr]     Checking itertools v0.10.3
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking half v1.8.2
[INFO] [stderr]     Checking plotters v0.3.1
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]     Checking criterion-plot v0.4.4
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling miette-derive v4.7.1
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]    Compiling pyo3-macros v0.16.5
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]     Checking tungstenite v0.17.2
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking miette v4.7.1
[INFO] [stderr]    Compiling clap_derive v3.1.18
[INFO] [stderr]    Compiling async-recursion v1.0.0
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking clap v3.1.18
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking tokio-util v0.7.2
[INFO] [stderr]     Checking tokio-tungstenite v0.17.1
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking pyo3-futures v0.2.1 (https://github.com/songww/pyo3-futures#c3989d59)
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking tokio-graceful-shutdown v0.8.0
[INFO] [stderr]     Checking criterion v0.3.5
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking hyper-tungstenite v0.8.0
[INFO] [stderr]     Checking quanshu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib.rs (8 fixes)
[INFO] [stderr]        Fixed src/asgi/specs/mod.rs (1 fix)
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/lib.rs:503:37
[INFO] [stdout]     |
[INFO] [stdout] 502 |                     let asgi = asgi::Asgi::new(ctx, opts);
[INFO] [stdout]     |                         ----
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `asgi` calls a custom destructor
[INFO] [stdout]     |                         `asgi` will be dropped later as of Edition 2024
[INFO] [stdout] 503 |                     asgi.serve(req).await
[INFO] [stdout]     |                                     ^^^^^
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                     up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 504 |                 }
[INFO] [stdout]     |                 - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `asgi` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes.rs:512:1
[INFO] [stdout]     |
[INFO] [stdout] 512 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `asgi` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.16.5/src/instance.rs:900:1
[INFO] [stdout]     |
[INFO] [stdout] 900 | impl<T> Drop for Py<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `asgi` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/sync/mpsc/chan.rs:182:1
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl<T, S> Drop for Tx<T, S> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/asgi/specs/mod.rs:578:16
[INFO] [stdout]     |
[INFO] [stdout] 578 |         event: &'a PyDict,
[INFO] [stdout]     |                ^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/asgi/specs/mod.rs:675:19
[INFO] [stdout]     |
[INFO] [stdout] 674 |             let mut body = body.lock().await;
[INFO] [stdout]     |                 --------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `body` calls a custom destructor
[INFO] [stdout]     |                 `body` will be dropped later as of Edition 2024
[INFO] [stdout] 675 |             match body.data().await { Some(buf) => {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 701 |         };
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes.rs:512:1
[INFO] [stdout]     |
[INFO] [stdout] 512 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `body` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/sync/mutex.rs:777:1
[INFO] [stdout]     |
[INFO] [stdout] 777 | impl<T: ?Sized> Drop for MutexGuard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:184:38
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn set_hostport(&mut self, host: &str, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                      ^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:184:50
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn set_hostport(&mut self, host: &str, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                                  ^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:201:34
[INFO] [stdout]     |
[INFO] [stdout] 201 |     fn set_port(&mut self, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                  ^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:342:31
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &mut CACHED_SCOPES };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &raw mut CACHED_SCOPES };
[INFO] [stdout]     |                                +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut CACHED_SCOPES: Lazy<HashMap<CacheKey, Py<PyDict>>> =
[INFO] [stdout] 338 +         static CACHED_SCOPES: Lazy<HashMap<CacheKey, Py<PyDict>>> =
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:384:32
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &mut PATH_INTERNS };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &raw mut PATH_INTERNS };
[INFO] [stdout]     |                                 +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 381 -         static mut PATH_INTERNS: Lazy<HashMap<String, Py<PyString>>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 381 +         static PATH_INTERNS: Lazy<HashMap<String, Py<PyString>>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/lib.rs:503:37
[INFO] [stdout]     |
[INFO] [stdout] 502 |                     let asgi = asgi::Asgi::new(ctx, opts);
[INFO] [stdout]     |                         ----
[INFO] [stdout]     |                         |
[INFO] [stdout]     |                         `asgi` calls a custom destructor
[INFO] [stdout]     |                         `asgi` will be dropped later as of Edition 2024
[INFO] [stdout] 503 |                     asgi.serve(req).await
[INFO] [stdout]     |                                     ^^^^^
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                                     up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] 504 |                 }
[INFO] [stdout]     |                 - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `asgi` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes.rs:512:1
[INFO] [stdout]     |
[INFO] [stdout] 512 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `asgi` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.16.5/src/instance.rs:900:1
[INFO] [stdout]     |
[INFO] [stdout] 900 | impl<T> Drop for Py<T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `asgi` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/sync/mpsc/chan.rs:182:1
[INFO] [stdout]     |
[INFO] [stdout] 182 | impl<T, S> Drop for Tx<T, S> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/asgi/specs/mod.rs:578:16
[INFO] [stdout]     |
[INFO] [stdout] 578 |         event: &'a PyDict,
[INFO] [stdout]     |                ^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/asgi/specs/mod.rs:675:19
[INFO] [stdout]     |
[INFO] [stdout] 674 |             let mut body = body.lock().await;
[INFO] [stdout]     |                 --------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `body` calls a custom destructor
[INFO] [stdout]     |                 `body` will be dropped later as of Edition 2024
[INFO] [stdout] 675 |             match body.data().await { Some(buf) => {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                   up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 701 |         };
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#1` may invoke a custom destructor because it contains a trait object
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bytes-1.1.0/src/bytes.rs:512:1
[INFO] [stdout]     |
[INFO] [stdout] 512 | impl Drop for Bytes {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: `body` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/sync/mutex.rs:777:1
[INFO] [stdout]     |
[INFO] [stdout] 777 | impl<T: ?Sized> Drop for MutexGuard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:184:38
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn set_hostport(&mut self, host: &str, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                      ^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:184:50
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn set_hostport(&mut self, host: &str, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                                  ^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:201:34
[INFO] [stdout]     |
[INFO] [stdout] 201 |     fn set_port(&mut self, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                  ^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:342:31
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &mut CACHED_SCOPES };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &raw mut CACHED_SCOPES };
[INFO] [stdout]     |                                +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut CACHED_SCOPES: Lazy<HashMap<CacheKey, Py<PyDict>>> =
[INFO] [stdout] 338 +         static CACHED_SCOPES: Lazy<HashMap<CacheKey, Py<PyDict>>> =
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:384:32
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &mut PATH_INTERNS };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &raw mut PATH_INTERNS };
[INFO] [stdout]     |                                 +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 381 -         static mut PATH_INTERNS: Lazy<HashMap<String, Py<PyString>>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 381 +         static PATH_INTERNS: Lazy<HashMap<String, Py<PyString>>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:43:23
[INFO] [stdout]     |
[INFO] [stdout]  42 |             let mut rx = rx.lock().await;
[INFO] [stdout]     |                 ------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `rx` calls a custom destructor
[INFO] [stdout]     |                 `rx` will be dropped later as of Edition 2024
[INFO] [stdout]  43 |             rx.recv().await.unwrap()
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                       up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  44 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `rx` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/sync/mutex.rs:777:1
[INFO] [stdout]     |
[INFO] [stdout] 777 | impl<T: ?Sized> Drop for MutexGuard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating benches/pydict_convert.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/main.rs:43:23
[INFO] [stdout]     |
[INFO] [stdout]  42 |             let mut rx = rx.lock().await;
[INFO] [stdout]     |                 ------
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 `rx` calls a custom destructor
[INFO] [stdout]     |                 `rx` will be dropped later as of Edition 2024
[INFO] [stdout]  43 |             rx.recv().await.unwrap()
[INFO] [stdout]     |                       ^^^^^
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]     |                       up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout]  44 |         }
[INFO] [stdout]     |         - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]     |
[INFO] [stdout] note: `rx` invokes this custom destructor
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.18.2/src/sync/mutex.rs:777:1
[INFO] [stdout]     |
[INFO] [stdout] 777 | impl<T: ?Sized> Drop for MutexGuard<'_, T> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5, openssl v0.10.40
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr] crater-edition-check: quanshu v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking quanshu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `parking_lot::Mutex as PMutex`
[INFO] [stdout]   --> src/asgi/specs/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use parking_lot::Mutex as PMutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `parking_lot::Mutex as PMutex`
[INFO] [stdout]   --> src/asgi/specs/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use parking_lot::Mutex as PMutex;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/asgi/specs/mod.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |         py: Python<'a>,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/asgi/specs/mod.rs:578:16
[INFO] [stdout]     |
[INFO] [stdout] 578 |         event: &'a PyDict,
[INFO] [stdout]     |                ^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/asgi/specs/mod.rs:670:33
[INFO] [stdout]     |
[INFO] [stdout] 670 |     fn __call__<'py>(&'py self, py: Python<'py>) -> PyResult<PyAsync<PyResult<PyObject>>> {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]    --> src/asgi/mod.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let host = request_headers.get(":Authority").unwrap();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_close`
[INFO] [stdout]    --> src/asgi/mod.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let connection_close = request_headers
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:184:38
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn set_hostport(&mut self, host: &str, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                      ^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:184:50
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn set_hostport(&mut self, host: &str, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                                  ^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:201:34
[INFO] [stdout]     |
[INFO] [stdout] 201 |     fn set_port(&mut self, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                  ^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/asgi/specs/mod.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |         py: Python<'a>,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/asgi/specs/mod.rs:578:16
[INFO] [stdout]     |
[INFO] [stdout] 578 |         event: &'a PyDict,
[INFO] [stdout]     |                ^^^^^^^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uds`
[INFO] [stdout]    --> src/lib.rs:363:17
[INFO] [stdout]     |
[INFO] [stdout] 363 |     if let Some(ref uds) = opts.uds {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/asgi/specs/mod.rs:670:33
[INFO] [stdout]     |
[INFO] [stdout] 670 |     fn __call__<'py>(&'py self, py: Python<'py>) -> PyResult<PyAsync<PyResult<PyObject>>> {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `begin`
[INFO] [stdout]    --> src/lib.rs:494:13
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let begin = Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_begin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/lib.rs:546:12
[INFO] [stdout]     |
[INFO] [stdout] 546 | fn quanshu(py: Python, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]     |            ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]    --> src/asgi/mod.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let host = request_headers.get(":Authority").unwrap();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_close`
[INFO] [stdout]    --> src/asgi/mod.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let connection_close = request_headers
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `access_log` is never read
[INFO] [stdout]    --> src/lib.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout]  93 | pub struct Options {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 126 |     access_log: bool,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Options` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log` is never used
[INFO] [stdout]  --> src/access.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) fn log(
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `V2_0`, `V2_1`, and `V2_2` are never constructed
[INFO] [stdout]   --> src/asgi/specs/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum SpecVersion {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 25 |     V2_0,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     V2_1,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     V2_2,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpecVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V2` is never constructed
[INFO] [stdout]   --> src/asgi/specs/mod.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum AsgiVersion {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 61 |     V2,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AsgiVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Receive` is never used
[INFO] [stdout]    --> src/asgi/specs/mod.rs:429:10
[INFO] [stdout]     |
[INFO] [stdout] 429 | pub enum Receive {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/asgi/specs/mod.rs:248:31
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn into_py_dict(self, py: Python) -> &PyDict {
[INFO] [stdout]     |                               ^^^^^^     ^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn into_py_dict(self, py: Python<'_>) -> &PyDict {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:342:31
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &mut CACHED_SCOPES };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &raw mut CACHED_SCOPES };
[INFO] [stdout]     |                                +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut CACHED_SCOPES: Lazy<HashMap<CacheKey, Py<PyDict>>> =
[INFO] [stdout] 338 +         static CACHED_SCOPES: Lazy<HashMap<CacheKey, Py<PyDict>>> =
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:384:32
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &mut PATH_INTERNS };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &raw mut PATH_INTERNS };
[INFO] [stdout]     |                                 +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 381 -         static mut PATH_INTERNS: Lazy<HashMap<String, Py<PyString>>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 381 +         static PATH_INTERNS: Lazy<HashMap<String, Py<PyString>>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quanshu` (lib) due to 2 previous errors; 18 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:184:38
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn set_hostport(&mut self, host: &str, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                      ^^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:184:50
[INFO] [stdout]     |
[INFO] [stdout] 184 |     fn set_hostport(&mut self, host: &str, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                                  ^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:201:34
[INFO] [stdout]     |
[INFO] [stdout] 201 |     fn set_port(&mut self, port: u16) -> PyResult<()> {
[INFO] [stdout]     |                                  ^^^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uds`
[INFO] [stdout]    --> src/lib.rs:363:17
[INFO] [stdout]     |
[INFO] [stdout] 363 |     if let Some(ref uds) = opts.uds {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `begin`
[INFO] [stdout]    --> src/lib.rs:494:13
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let begin = Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_begin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/lib.rs:546:12
[INFO] [stdout]     |
[INFO] [stdout] 546 | fn quanshu(py: Python, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]     |            ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `access_log` is never read
[INFO] [stdout]    --> src/lib.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout]  93 | pub struct Options {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 126 |     access_log: bool,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Options` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log` is never used
[INFO] [stdout]  --> src/access.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) fn log(
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `V2_0`, `V2_1`, and `V2_2` are never constructed
[INFO] [stdout]   --> src/asgi/specs/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum SpecVersion {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 25 |     V2_0,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     V2_1,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     V2_2,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpecVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V2` is never constructed
[INFO] [stdout]   --> src/asgi/specs/mod.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum AsgiVersion {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 61 |     V2,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AsgiVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Receive` is never used
[INFO] [stdout]    --> src/asgi/specs/mod.rs:429:10
[INFO] [stdout]     |
[INFO] [stdout] 429 | pub enum Receive {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/asgi/specs/mod.rs:248:31
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn into_py_dict(self, py: Python) -> &PyDict {
[INFO] [stdout]     |                               ^^^^^^     ^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn into_py_dict(self, py: Python<'_>) -> &PyDict {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:342:31
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &mut CACHED_SCOPES };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &raw mut CACHED_SCOPES };
[INFO] [stdout]     |                                +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 338 -         static mut CACHED_SCOPES: Lazy<HashMap<CacheKey, Py<PyDict>>> =
[INFO] [stdout] 338 +         static CACHED_SCOPES: Lazy<HashMap<CacheKey, Py<PyDict>>> =
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:384:32
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &mut PATH_INTERNS };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &raw mut PATH_INTERNS };
[INFO] [stdout]     |                                 +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 381 -         static mut PATH_INTERNS: Lazy<HashMap<String, Py<PyString>>> = Lazy::new(|| HashMap::new());
[INFO] [stdout] 381 +         static PATH_INTERNS: Lazy<HashMap<String, Py<PyString>>> = Lazy::new(|| HashMap::new());
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quanshu` (lib test) due to 2 previous errors; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0261189bb72ec4d580738292815e56239b13420b9cb352cf33ea3ec15356576e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0261189bb72ec4d580738292815e56239b13420b9cb352cf33ea3ec15356576e", kill_on_drop: false }`
[INFO] [stdout] 0261189bb72ec4d580738292815e56239b13420b9cb352cf33ea3ec15356576e
